package cn.exrick.manager.service;

import cn.exrick.common.pojo.DataTablesResult;
import cn.exrick.manager.pojo.TbArticle;

import java.util.List;

/**
 * 内容管理
 */
public interface ArticleService {

    void addArticle(TbArticle tbArticle);

    void deleteArticle(List<Long> ids);

    void updateArticle(TbArticle tbArticle);

    TbArticle getArticle(Long id);

    DataTablesResult getArticleList(int draw, int start, int length, TbArticle tbArticle, String orderCol, String orderDir);

    TbArticle getArticleByNavId(Long id);
}
